HDDS-1879. Support multiple excluded scopes when choosing datanodes in NetworkTopology#1194
HDDS-1879. Support multiple excluded scopes when choosing datanodes in NetworkTopology#1194xiaoyuyao merged 6 commits intoapache:trunkfrom
Conversation
|
💔 -1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
|
/retest |
hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/scm/net/InnerNodeImpl.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
NIT: We can use CollectionUtils.isEmpty() to simplify the code at 79/80.
There was a problem hiding this comment.
I don't see this being used anywhere, should we remove it?
hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/scm/net/NetworkTopologyImpl.java
Outdated
Show resolved
Hide resolved
hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/scm/net/NetworkTopologyImpl.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
NIT: use CollectionUtils.isEmpty() to simplify?
xiaoyuyao
left a comment
There was a problem hiding this comment.
Thanks @ChenSammi for the patch. It looks good to me overall. Just few minor comments inline..
|
💔 -1 overall
This message was automatically generated. |
…n NetworkTopology.
2256776 to
3debbb8
Compare
|
💔 -1 overall
This message was automatically generated. |
|
Thanks @ChenSammi for updating the PR. The latest change LGTM. Can you fix the checkstyle and unit test failure that seems to be related? +1 after that. |
|
Thanks @xiaoyuyao for the review. A new patch to fix the check style issue. The failed UTs are not related. Will commit after the Yetus build. |
|
💔 -1 overall
This message was automatically generated. |
|
Is the build system wrong? I don't think changed the code which cause the compile failure. |
|
/retest |
|
+1, I've merged the change to trunk. |
|
Thanks @xiaoyuyao for the code review and @elek for monitor the build result. |
…n NetworkTopology (apache#1194)
…n NetworkTopology (apache#1194)
https://issues.apache.org/jira/browse/HDDS-1879